$bgColor: #eee;
$themeColor: #1AB394;

/* 悬浮区域 - 透明遮挡 */
.suspension {
    /* filter: alpha(opacity=30);
    -moz-opacity: .3;
    opacity: .3; */
    z-index: 10;

    &:hover {
        filter: alpha(opacity=100);
        -moz-opacity: 1;
        opacity: 1;
    }
}

.suspension_plan_toolbar {
    display: block;
    overflow: hidden;
    position: fixed;
    bottom: 3em;
    left: 50%;
    z-index: 11;
    background-color: $bgColor;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    width: auto;
    height: auto;
    padding: .3em;

    .btn {
        display: inline-block;
        font-size: 1.3em;
        padding: .4em;

        .span {
            display: inline-block;
        }
    }
}

.suspension_plan_wait_completion_list {
    display: block;
    overflow: hidden;
    position: fixed;
    width: auto;
    height: 80%;
    top: 10%;
    bottom: 10%;
    right: 0;
    z-index: 10;
    border-right-width: 0;
    background-color: $bgColor;
    padding-left: 1.5em;
    padding-right: .3em;

    .top_title {
        text-align: center;
        padding: .4em 1em;
    }

    .indent {
        display: block;
        overflow: hidden;
        position: absolute;
        top: 50%;
        left: -.2em;
        -webkit-transform: translate(0, -50%);
        -moz-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        transform: translate(0, -50%);
        padding: .3em;
        background-color: $bgColor;
    }

    .contents {
        padding: .5em;
        overflow-y: scroll;

        .item {
            padding: .4em;
            max-width: 10em;
        }

        .item+.item {
            margin-top: .5em;
        }
    }

    &.hide {
        overflow: visible;
        right: unset;
        left: 101%;

        .indent {
            -webkit-transform: rotateY(180deg) translate(0, -50%);
            -moz-transform: rotateY(180deg) translate(0, -50%);
            -ms-transform: rotateY(180deg) translate(0, -50%);
            transform: rotateY(180deg) translate(0, -50%);
            left: unset;
            right: 130%;
        }
    }
}

.exhibition_area {
    font-size: 1em;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 2em auto;

    .title {
        display: block;
        overflow: hidden;
        position: relative;
        padding: .5em 1em;

        .span {
            font-weight: bold;
            font-size: 1.2em;
        }
    }

    .contents {
        display: block;
        overflow: hidden;
        position: relative;
        padding: .5em 1em;

        .plan {
            display: block;
            overflow: hidden;
            position: relative;

            .module {
                display: block;
                overflow: hidden;
                position: relative;
            }

            .module+.module {
                margin-top: 1.2em;
            }

            .title {
                width: 100%;
                padding: .5em 1em;

                .span {
                    display: inline-block;
                    border-bottom: 2px solid $themeColor;
                    padding-bottom: 0.2em;
                }
            }

            .description {
                width: 96%;
                margin: 0 auto;

                .span {
                    padding: .3em .4em;
                }
            }

            .progress {
                width: 96%;
                margin: 0 auto;
                min-height: 4em;

                .style_selected {
                    display: block;
                    text-align: right;

                    .btn {
                        padding: .6em 1em;

                        &.normal {
                            background-color: $themeColor;
                            color: $bgColor;
                        }

                        &.list {
                            background-color: $bgColor;
                            color: $themeColor;
                        }
                    }
                }

                .complate_records {
                    display: block;
                    overflow: hidden;
                    position: relative;
                    padding: .3em;
                    padding-bottom: 0;

                    .record {
                        display: block;
                        overflow: visible;
                        position: relative;
                        float: left;
                        border: 1px solid $themeColor;
                        box-shadow: 0 0 4px $themeColor;
                        background-color: $bgColor;
                        color: $themeColor;
                        margin-bottom: .3em;
                        margin-right: .3em;

                        .time,
                        .remark {
                            display: none;
                        }

                        .signno,
                        .have_data,
                        .btn {
                            display: none;
                            position: relative;
                            margin: unset;
                            padding: unset;
                            border: unset;
                            width: 2em;
                            height: 2em;
                            border: 1px solid $themeColor;
                            box-shadow: 0 0 4px $themeColor;
                            background-color: $bgColor;
                            color: $themeColor;

                            .svg {
                                display: inline-block;
                                width: 100%;
                                height: 100%;
                                top: 0;
                                color: inherit;
                            }
                        }

                        .signno {
                            display: block;
                            width: auto;
                            height: auto;
                            text-align: center;
                            padding: 0 .3em;
                        }

                        .btn {
                            display: block;

                            .svg {
                                display: inline-block;
                                position: absolute;
                                width: 60%;
                                height: 60%;
                                top: 20%;
                                left: 20%;
                                color: inherit;
                            }

                            .span {
                                display: none;
                            }

                            &:hover {
                                cursor: pointer;
                                background-color: $themeColor;
                                color: $bgColor;
                            }
                        }

                        .have_data {
                            display: none;
                        }

                        &.have {
                            .btn {
                                display: none;
                            }

                            .have_data {
                                display: block;
                            }
                        }
                    }
                }

                &.list {
                    .style_selected {
                        .btn {
                            &.normal {
                                background-color: $bgColor;
                                color: $themeColor;
                            }

                            &.list {
                                background-color: $themeColor;
                                color: $bgColor;
                            }
                        }
                    }

                    .complate_records {
                        .record {
                            font-size: 1em;
                            width: 90%;
                            height: auto;
                            float: unset;
                            cursor: unset;
                            margin: 0 auto;
                            margin-bottom: 1em;
                            box-sizing: border-box;

                            .time,
                            .remark {
                                display: block;
                                padding: .4em .5em;
                            }

                            .signno {
                                display: block;
                                position: absolute;
                                right: 101%;
                                top: 0;
                                width: auto;
                                padding: 0 .3em;
                                box-sizing: content-box;
                                font-weight: bold;
                                color: $bgColor;
                                background: $themeColor;
                            }

                            .btn {
                                display: block;
                                position: absolute;
                                width: 2em;
                                height: 2em;
                                top: 50%;
                                right: .5em;
                                -webkit-transform: translate(0, -50%);
                                -moz-transform: translate(0, -50%);
                                -ms-transform: translate(0, -50%);
                                transform: translate(0, -50%);
                                border: 1px solid $themeColor;
                                box-shadow: 0 0 4px $themeColor;
                                background-color: $bgColor;
                                color: $themeColor;

                                &:hover {
                                    cursor: pointer;
                                    background-color: $themeColor;
                                    color: $bgColor;
                                }
                            }

                            .have_data {
                                display: none;
                            }
                            &.have {
                                background-color: $themeColor;
                                color: $bgColor;
                                .btn {
                                    display: none;
                                }
                            }
                        }
                    }
                }
            }

            .toolbar {
                width: 100%;
                padding-bottom: .8em;
                text-align: right;

                .btn {
                    padding: 0.4em;
                    margin-right: 1em;
                    font-size: 1em;
                }
            }
        }

        .plan+.plan {
            margin-top: 2em;
        }
    }
}
